﻿using System;
using System.Collections.Generic;
using System.Text;
using FileSystem.Models;
using FileSystem.Services.IServices;
using GalaSoft.MvvmLight;

namespace FileSystem.ViewModels {
    /// <summary>
    /// 操作系统菜单项ViewModel
    /// </summary>
    public class OSMenuItemViewModel : ViewModelBase {
        // ******** 构造函数

        /// <summary>
        /// 内容导航服务
        /// </summary>
        private IContentNavigationService _contentNavigationService;

        /// <summary>
        /// 操作系统菜单项ViewModel
        /// </summary>
        public OSMenuItemViewModel(
            IContentNavigationService contentNavigationService) {
            _contentNavigationService = contentNavigationService;
        }

        // ******** 绑定属性

        /// <summary>
        /// 图标和图标名称
        /// </summary>
        public IconAndFont IconAndFont
        {
            get => _iconAndFont;
            set => Set(nameof(IconAndFont), ref _iconAndFont, value);
        }

        /// <summary>
        /// 图标和图标名称
        /// </summary>
        private IconAndFont _iconAndFont;

        // ******** 绑定命令

    }
}